//
//  QWNavBarTranslucent.h
//  WJCommon-master
//
//  Created by Yunhai.Wu on 16/1/18.
//  Copyright © 2016年 WJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

/**
 *  导航栏状态
 */
typedef NS_ENUM(NSInteger, QWNavBarStatus) {
    /**
     *  非透明
     */
    QWNavBarStatusNonTranslucent,
    /**
     *  透明
     */
    QWNavBarStatusTranslucent
};

@interface QWNavBarStatusAttributes : NSObject

/**
 *  tintColor
 */
@property (nonatomic, strong) UIColor *tintColor;
/**
 *  背景图片
 */
@property (nonatomic, strong) UIImage *barBackgroundImage;
/**
 *  是否透明
 */
@property (nonatomic, assign) BOOL isTranslucent;
/**
 *  标题属性
 */
@property (nonatomic, strong) NSDictionary *titleTextAttributes;
/**
 *  阴影图片
 */
@property (nonatomic, strong) UIImage *shadowImage;
/**
 *  状态栏样式
 */
@property (nonatomic, assign) UIStatusBarStyle statusBarStyle;

-(instancetype) initNavigationBar:(UINavigationBar*) navigationBar;

-(instancetype)initTintColor:(UIColor *)tintColor
          barBackgroundImage:(UIImage *)barBackgroundImage
                 shadowImage:(UIImage *)shadowImage
               isTranslucent:(BOOL)isTranslucent
         titleTextAttributes:(NSDictionary *)titleTextAttributes
              statusBarStyle:(UIStatusBarStyle) statusBarStyle;

@end
